package com.utooo.dao.purchase;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.utooo.pojo.domain.purchase.task.PurchaseTaskManagementDO;
import com.utooo.pojo.dto.purchase.task.PurchaseTaskCombinedDTO;
import com.utooo.pojo.vo.purchase.DemandMaterialDetailVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PurchaseTaskManagementMapper extends BaseMapper<PurchaseTaskManagementDO> {

    List<PurchaseTaskCombinedDTO> getCombinedPurchaseTasks(@Param("taskIds") List<String> taskIds);

    List<DemandMaterialDetailVO> getMaterialListByTaskIds(@Param("taskIds") List<String> taskIds);
}